{#include file="admin_header.htm"#}
<div class="admin_main_nr_dbox">
  <table width="800" border="0" cellspacing="0" cellpadding="5" style="border-bottom:1px #CCCCCC solid;">
    <tr>
      <td width="533" height="23" style="font-size:12px;padding-left:20px;"><strong>提示：</strong></td>
    </tr>
  </table>
 
 <table width="100%" border="0" cellspacing="0" cellpadding="4">
    <tr>
      <td style=" line-height:180%; color:#666666; padding-left:20px;">新增模板只需将模板文件上传至 ./templates目录下即可完成<br />
      </td>
    </tr>
    <tr>
      <td bgcolor="#F1F8FA" style=" line-height:180%; color:#666666; padding-left:20px;border-bottom:1px  #DFEDF7 solid;border-top:1px #DFEDF7 solid;"><label>当前模板</label></td>
    </tr>
    <tr>
      <td style=" line-height:220%; color:#666666;"><table width="460" border="0" cellspacing="12" cellpadding="0">
    <tr>
      <td width="225"><a href="../" target="_blank"><img src="../templates/{#$templates.dir#}/images/thumbnail.jpg" alt="{#$templates.info.name#}" width="225" height="136" border="1"  style="border: #CCCCCC;" /></a></td>
      <td width="220" valign="top" class="link_lan">名称：{#$templates.info.name#}<br />
        版本：v{#$templates.info.version#}<br />
        作者：<a href="{#$templates.info.authorurl#}" target="_blank">{#$templates.info.author#}</a>
		<br />
		<input type="button" name="Submit22" value="备份此模板" class="Qishi_submit_a" onmouseover="this.className='Qishi_submit_b'"  onmouseout="this.className='Qishi_submit_a'" onclick="window.location='?act=backup&tpl_name={#$templates.dir#}'"  style="margin-top:10px;"/>
		</td>
    </tr>
  </table></td>
    </tr>
	<tr>
      <td bgcolor="#F1F8FA" style=" line-height:180%; color:#666666; padding-left:20px;border-bottom:1px  #DFEDF7 solid;border-top:1px #DFEDF7 solid;">可用模板</td>
    </tr>
	<tr>
      <td style=" line-height:220%; color: #333333;" class="link_lan">
	   {#section name=list loop=$list#}
  <div style="float:left; width:240px; background-color:; text-align:center; padding:15px;"  onMouseOver="this.style.backgroundColor ='#F1F8FA'" onmouseout="this.style.backgroundColor =''"><a href="?act=set&tpl_dir={#$list[list].dir#}" onclick="return confirm('你确定要将此模板设置为默认模板吗？')"><img src="../templates/{#$list[list].dir#}/images/thumbnail.jpg" alt="{#$list[list].info.name#}" width="225" height="136" border="1"  style="border: #CCCCCC;"/></a><br />
 <strong>{#$list[list].info.name#}</strong>  v{#$list[list].info.version#} (作者:<a href="{#$list[list].info.authorurl#}" target="_blank">{#$list[list].info.author#}</a>)  </div>
	  {#/section#}</td>
    </tr>
	<tr>
	  <td height="80"   >&nbsp;	  </td>
    </tr>
  </table>
</div>
{#include file="admin_footer.htm"#}
</body>
</html>